package com.zimin.cloud.mine.pojo.wiki.view;

import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 分类 视图对象
 * </p>
 *
 * @author zimin
 * @since 2021-10-27 21:02
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class CategoryVO  implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    private String parent;
    private String name;


    private Integer sort;
    private String parentName;

    List<CategoryVO> children;

    private String title;
    private String value;

    public String getTitle() {
        return name;
    }

    public String getValue() {
        return name;
    }
}

